# -*- coding:utf-8 -*-
import pytest

def pytest_addoption(parser):
    parser.addoption('--tedopt',action='store',
                     default = '345',
                     help = '将自定义命令参数 "--tedopt" 添加到pytest配置中')

@pytest.fixture(scope='session')
def tedopt(request):
    return request.config.getoption('--tedopt')